<template>
	<view>
		<view class="page">
			<comp-common v-bind="{data:data}" @getUserInfo="getUserInfo" @myLogin="myLogin" @getPhoneNumber="getPhoneNumber" @hideGetCoupon="hideGetCoupon" @closeCouponBox="closeCouponBox" @navigatorClick="navigatorClick"></comp-common>
			<comp-header v-bind="{data:data}" @relevanceError="relevanceError" @relevanceSuccess="relevanceSuccess"></comp-header>
			<view class="body after-navber">
				<goods-send v-bind="{data:data}" @copyinfo="copyinfo" @sendFormSubmit="sendFormSubmit" @bindExpressPickerChange="bindExpressPickerChange" @viewImage="viewImage"></goods-send>
			</view>
			<comp-footer v-bind="{data:data}"></comp-footer>
		</view>
	</view>
</template>

<script>var myVue = {};
	import goodsSend from '../../../components/goods/goods_send.vue'
	var e = require("../../../components/goods/goods_send.js");
	export default {
		components:{goodsSend},
		data() {
			return {
				data: {
        pageType: "MIAOSHA",
        order_refund: null,
        express_index: null
    },
			};
		},
		onLoad: function(e) {myVue = this;
        myVue.getApp.page.onLoad(this, e);
        var o = this;
        myVue.getApp.core.showLoading({
            title: "正在加载"
        }), myVue.getApp.request({
            url: myVue.getApp.api.miaosha.refund_detail,
            data: {
                order_refund_id: e.id
            },
            success: function(e) {
                0 == e.code && o.setData({
                    order_refund: e.data
                });
            },
            complete: function() {
                o.getApp.core.hideLoading();
            }
        });
    },
    onReady: function(e) {
        myVue.getApp.page.onReady(this);
    },
    onShow: function(o) {
        myVue.getApp.page.onShow(this), e.init(this);
    },
    onHide: function(e) {
        myVue.getApp.page.onHide(this);
    },
    onUnload: function(e) {
        myVue.getApp.page.onUnload(this);
    },
		methods: {
			
		},
	}
</script>

<style scoped>
</style>
